name="[西瓜刀]"
description =[[
嗷嗷说这是他用过最好用的武器了
嗷嗷用它来保护啾啾

在武器栏最下方制作哦
记得在模组下方（小螺丝钉）设置你的偏好哦：
·可以设置武器的基本属性
·可以设置武器是否可以被用作各种工具
·可以设置武器的特殊作用
·可以设置武器的攻击特效
·可以设置武器的法术释放
·可以设置武器的升级修复系统
·若出现闪退，可以将鱼竿功能关闭后尝试

·增加了骨制盔甲的功能，还在测试阶段~
·修复了行走特效只有暴食手杖的问题
·修复了耐久缺少选项的问题
                          在这里设置↓↓↓
]]
author ="蠢嗷嗷w" 
version ="15.9.6" 
forumthread = ""
api_version = 10
icon_atlas = "modicon.xml"
icon ="modicon.tex"
dst_compatible = true
all_clients_require_mod = true
client_only_mod = false
server_filter_tags = {""}

local opt_Empty = {{description = "", data = 0}}

local function Title(title,hover)
	return {
		name=title,
		hover=hover,
		options=opt_Empty,
		default=0,
	}
end

configuration_options =
{
	Title("基础设置"),
	{
	  name = "craft",
	  label = "制作难度",
	  hover = "设置制作西瓜刀的难度",
	   options = 
        {
	       	{description = "简单", data = 1},
			{description = "正常", data = 2},
			{description = "困难", data = 3},
        },
	    default = 1,
	
	},
	
	{
	  name = "damage",
	  label = "伤害",
	  hover = "设置伤害",
	   options = 
        {		
			{description = "30", data = 30},
			{description = "40", data = 40},
			{description = "50", data = 50},
			{description = "60", data = 60},
			{description = "70", data = 70},
			{description = "80", data = 80},
			{description = "90", data = 90},
			{description = "100", data = 100},
			{description = "150", data = 150},
			{description = "200", data = 200},
			{description = "300", data = 300},
			{description = "400", data = 400},
			{description = "500", data = 500},
			{description = "秒杀", data = 999999},
     	 },
	    default = 100,
	
	},
	
	{
	  name = "range",
	  label = "攻击范围",
	  hover = "设置攻击范围",
	   options = 
        {		
			{description = "0", data = 0},
			{description = "1", data = 1},
			{description = "2", data = 2},
			{description = "3", data = 3},
			{description = "4", data = 4},
			{description = "5", data = 5},
			{description = "6", data = 6},
			{description = "7", data = 7},
			{description = "8", data = 8},
			{description = "9", data = 9},
			{description = "10", data = 10},
			{description = "15", data = 15},
			{description = "20", data = 20},
     	 },
	    default = 1,
	
	},
	
    {
       name = "use",
       label = "耐久",
	   hover = "设置耐久",
        options = 
        {
			 {description = "100", data = 100},
			 {description = "200", data = 200},
			 {description = "300", data = 300},
			 {description = "400", data = 400},
			 {description = "500", data = 500},
			 {description = "600", data = 600},
			 {description = "700", data = 700},
			 {description = "800", data = 800},
			 {description = "900", data = 900},
			 {description = "1000", data = 1000},
			 {description = "无耐久", data = 0},
        },
        default = 0,
    },
	
	
	
	Title("工具设置"),
	{
	  name = "axe",
	  label = "斧头",
	  hover = "是否可以被用作斧头",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "正常", data = 1},
			{description = "加速", data = 5},
			{description = "秒杀", data = 22},
     	 },
	    default = 22,
	
	},
	
	{
	  name = "draft",
	  label = "鹤嘴锄",
	  hover = "是否可以被用作鹤嘴锄",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "正常", data = 1},
			{description = "加速", data = 2},
			{description = "秒杀", data = 15},
     	 },
	    default = 2,
	
	},
	
	{
       name = "dig",
       label = "（不推荐）铲子",
	   hover = "是否可以被用作铲子（不方便收割草和树枝哈哈）",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 0,
    },
	
	{
       name = "hammer",
       label = "（不推荐）锤子",
	   hover = "是否可以被用作锤子（一不下心就会拆家！）",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
			 {description = "秒杀", data = 99},
        },
        default = 0,
    },
	
	{
	  name = "net",
	  label = "捕虫网",
	  hover = "是否可以被用作捕虫网",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "打开", data = 1},
     	 },
	    default = 1,
	
	},
	
	{
	  name = "tideng",
	  label = "提灯",
	  hover = "设置提灯照明范围(开启洞穴可能会使照明不受控制)",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "火把", data = 3},
			{description = "附近", data = 8},
			{description = "全屏", data = 15},
     	 },
	    default = 15,
	
	},
	
	{
	  name = "diaoyu",
	  label = "鱼竿",
	  hover = "开地下洞穴不建议开启鱼竿哦",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "打开", data = 1},
			--{description = "10秒上钩", data = 10},
			--{description = "5秒上钩", data = 5},
			--{description = "3秒上钩", data = 3},
			--{description = "0秒上钩", data = 0},
			--快速钓鱼已不可用
     	 },
	    default = 0,
	
	},
	
	
	
	
	Title("特殊功能"),
	{
       name = "walkspeed",
       label = "移动速度",
	   hover = "设置移动速度",
        options = 
        {
			 {description = "关闭", data = 1},
			 {description = "1.1倍", data = 1.1},
			 {description = "1.2倍", data = 1.2},
			 {description = "1.25倍", data = 1.25},
			 {description = "1.3倍", data = 1.3},
			 {description = "1.4倍", data = 1.4},
			 {description = "1.5倍", data = 1.5},
			 {description = "2倍", data = 2},
			 {description = "2.5倍", data = 2.5},
        },
        default = 1.5,
    },
	
	{
       name = "warm",
       label = "保暖\\隔热",
	   hover = "设置保暖\\隔热时长",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "保暖60秒", data = 60},
			 {description = "保暖120秒", data = 120},
			 {description = "保暖240秒", data = 240},
			 {description = "永久保暖", data = 99999999},
			 {description = "隔热60秒", data = -60},
			 {description = "隔热120秒", data = -120},
			 {description = "隔热240秒", data = -240},
			 {description = "永久隔热", data = -99999999},
        },
        default = 240,
    },
	
	{
       name = "waterproofer",
       label = "防雨效果",
	   hover = "设置防雨效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "20%防雨", data = 0.2},
			 {description = "50%防雨", data = 0.5},
			 {description = "80%防雨", data = 0.8},
			 {description = "完全防雨", data = 1},
        },
        default = 1,
    },
	
	{
       name = "huisan",
       label = "手持时回san",
	   hover = "设置每分钟手持时回san效果",
        options = 
        {
			 {description = "关闭", data = 0, hover = "关闭"},
			 {description = "2.7", data = 0.05, hover = "每分钟回复2.7"},
			 {description = "5.4", data = 0.1, hover = "每分钟回复5.4"},
			 {description = "10.8", data = 0.2, hover = "每分钟回复10.8"},
			 {description = "27", data = 0.5, hover = "每分钟回复27"},
			 {description = "54", data = 1, hover = "每分钟回复54"},
			 {description = "270", data = 5, hover = "每分钟回复270"},
			 {description = "-270（可月岛用）", data = -5, hover = "每分钟扣除270"},
        },
        default = 0,
    },
	
	{
       name = "temperature",
       label = "自动回温",
	   hover = "温度到5°C或者65°C时自动回复到35°C，消耗10耐久",
        options = 
        {
			 {description = "关闭", data = false},
			 {description = "开启", data = true},
        },
        default = false,
    },
	
	{
       name = "magic",
       label = "法术释放",
	   hover = "ps:每次法术消耗 10点耐久 5点san值",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "催眠法术", data = 1, hover = "屏幕范围催眠"},
			 {description = "瞬移法术", data = 2, hover = "闪现！"},
			 {description = "召唤矮星", data = 3, hover = "唤星法杖召唤物"},
			 {description = "召唤极光", data = 4, hover = "唤月法杖召唤物"},
			 {description = "召唤寒冰", data = 5, hover = "持续5秒，克劳斯冰鹿召唤物"},
			 {description = "召唤火焰", data = 6, hover = "持续5秒，克劳斯火鹿召唤物"},
			 {description = "召唤旋风", data = 7, hover = "4个旋风，砍树更加方便：哈撒给！！！"},
			 {description = "召唤流星", data = 11, hover = "伤害根据随机大小而定"},
			 {description = "召唤孢子云", data = 12, hover = "持续一分钟，会使食物腐烂！"},
			 {description = "召唤沙刺", data = 13, hover = "4个沙刺，每个100伤害"},
			 {description = "召唤爆炸蘑菇", data = 14, hover = "3个蘑菇，每个100伤害，三个蘑菇一条命，致敬老蘑菇~"},
			 {description = "召唤爆炸蘑菇plus", data = 15, hover = "3个蘑菇，每个150伤害，三个蘑菇一条命，致敬老蘑菇~"},
			 {description = "召唤催眠云", data = 16, hover = "持续20s，催眠范围内生物"},
			 {description = "召唤光源", data = 17, hover = "一直存在"},
			 {description = "召唤眼球塔", data = 8, hover = "忠于你的眼球塔"},
			 {description = "召唤触手", data = 21, hover = "升级版的触手书？"},
			 {description = "召唤闪电", data = 24, hover = "升级版的闪电书？小心会劈到自己！！"},
			 {description = "召唤鸟", data = 22, hover = "这是老奶奶的鸟书？"},
			 {description = "催熟作物", data = 23, hover = "这是老奶奶的园艺书？"},
			 {description = "召唤远古科技站", data = 9, hover = "在家放一个还蛮方便"},
			 {description = "召唤月岛祭坛", data = 19, hover = "在家放一个还蛮方便,自己组装一下！"},
			 {description = "召唤天体灵球", data = 18, hover = "人手一个GPS"},
			 {description = "召唤铥矿", data = 10, hover = "铥矿可再生了？"},
			 {description = "召唤风滚草", data = 20, hover = "啊好多风滚草，先追哪一个呢？"},
        },
        default = 1,
    },
	
	{
       name = "fuhuo",
       label = "作祟复活",
	   hover = "是否可以作祟复活",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 0,
    },
	
	{
       name = "zhangzhang",
       label = "行走特效",
	   hover = "设置行走特效",
        options = 
        {
			 {description = "远古手杖", data = "cane_ancient_fx"},
			 {description = "暴食手杖", data = "cane_victorian_fx"},
        },
        default = "cane_ancient_fx",
    },
	
	{
       name = "hujia",
       label = "骨制盔甲",
	   hover = "是否开启骨制盔甲的效果(每五秒免疫一次伤害，消耗10耐久)",
        options = 
        {
			 {description = "关闭", data = 0,hover = "刚加的新功能，还在测试阶段~"},
			 {description = "打开", data = 1,hover = "刚加的新功能，还在测试阶段~"},
        },
        default = 0,
    },
	
	
	Title("攻击特效"),
	{
       name = "sanity",
       label = "攻击时回san",
	   hover = "设置攻击时回san效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "0.1", data = 0.1},
			 {description = "0.5", data = 0.5},
			 {description = "1", data = 1},
			 {description = "2", data = 2},
			 {description = "3", data = 3},
			 {description = "4", data = 4},
			 {description = "5", data = 5},
			 {description = "6", data = 6},
			 {description = "7", data = 7},
			 {description = "8", data = 8},
			 {description = "9", data = 9},
			 {description = "10", data = 10},
        },
        default = 0,
    },
	
	{
       name = "health",
       label = "吸血效果",
	   hover = "设置吸血效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "0.1", data = 0.1},
			 {description = "0.5", data = 0.5},
			 {description = "1", data = 1},
			 {description = "2", data = 2},
			 {description = "3", data = 3},
			 {description = "4", data = 4},
			 {description = "5", data = 5},
			 {description = "6", data = 6},
			 {description = "7", data = 7},
			 {description = "8", data = 8},
			 {description = "9", data = 9},
			 {description = "10", data = 10},
        },
        default = 0,
    },
	
	{
       name = "freezable",
       label = "冰冻效果",
	   hover = "设置冰冻效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "慢速冰冻", data = 0.2},
			 {description = "普通冰冻", data = 0.5},
			 {description = "快速冰冻", data = 1},
			 {description = "超级冰冻", data = 10},
        },
        default = 1,
    },
	
	{
       name = "burn",
       label = "火焰效果",
	   hover = "设置火焰效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 0,
    },
	
	{
       name = "back",
       label = "击退效果",
	   hover = "设置击退效果，额外附加10点小范围伤害",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 0,
    },
	
	{
       name = "baoji",
       label = "暴击效果",
	   hover = "设置暴击效果",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "双倍伤害", data = 1},
			 {description = "额外500真伤", data = 500},
			 {description = "额外1000真伤", data = 1000},
			 {description = "额外2000真伤", data = 2000},
        },
        default = 0,
    },
	
	{
       name = "baojilv",
       label = "（开启“暴击效果”之后有效）暴击率",
	   hover = "设置暴击率",
        options = 
        {
			 {description = "1%", data = 0.01},
			 {description = "5%", data = 0.05},
			 {description = "10%", data = 0.1},
			 {description = "20%", data = 0.2},
			 {description = "30%", data = 0.3},
			 {description = "40%", data = 0.4},
			 {description = "50%", data = 0.5},
			 {description = "60%", data = 0.6},
			 {description = "70%", data = 0.7},
			 {description = "80%", data = 0.8},
			 {description = "90%", data = 0.9},
			 {description = "100%", data = 1},
        },
        default = 0,
    },
	
	{
       name = "aoe",
       label = "AOE",
	   hover = "设置AOE",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 0,
    },
	
	{
       name = "aoerange",
       label = "（开启“AOE”之后有效）AOE范围",
	   hover = "设置AOE伤害范围",
        options = 
        {
			{description = "1", data = 1},
			{description = "2", data = 2},
			{description = "3", data = 3},
			{description = "4", data = 4},
			{description = "5", data = 5},
			{description = "6", data = 6},
			{description = "7", data = 7},
			{description = "8", data = 8},
			{description = "9", data = 9},
			{description = "10", data = 10},
			{description = "11", data = 11},
			{description = "12", data = 12},
			{description = "13", data = 13},
			{description = "14", data = 14},
			{description = "15", data = 15},
        },
        default = 0,
    },
	
	{
       name = "aoedamage",
       label = "（开启“AOE”之后有效）AOE伤害",
	   hover = "设置AOE的真实伤害",
        options = 
        {
			 {description = "1", data = 1},
			 {description = "2", data = 2},
			 {description = "3", data = 3},
			 {description = "4", data = 4},
			 {description = "5", data = 5},
			 {description = "6", data = 6},
			 {description = "7", data = 7},
			 {description = "8", data = 8},
			 {description = "9", data = 9},
			 {description = "10", data = 10},
			 {description = "20", data = 20},
			 {description = "30", data = 30},
			 {description = "40", data = 40},
			 {description = "50", data = 50},
			 {description = "60", data = 60},
			 {description = "70", data = 70},
			 {description = "80", data = 80},
			 {description = "90", data = 90},
			 {description = "100", data = 100},
			 {description = "200", data = 200},
			 {description = "300", data = 300},
			 {description = "400", data = 400},
			 {description = "500", data = 500},
			 {description = "1000", data = 1000},
        },
        default = 10,
    },
	
	
	
	
	
	Title("升级\\修复系统"),
	{
       name = "shengji",
       label = "升级修复",
	   hover = "是否开启升级修复系统",
        options = 
        {
			 {description = "关闭", data = 0},
			 {description = "打开", data = 1},
        },
        default = 1,
    },
	
	{
	  name = "upgrade",
	  label = "（开启“升级修复”之后有效）升级难度",
	  hover = "可以将对应宝石给予西瓜刀来升级增加伤害",
	   options = 
        {		
			{description = "过于简单（干草）", data = "cutgrass"},
			{description = "简单（黄金）", data = "goldnugget"},
			{description = "正常（红宝石）", data = "redgem"},
			{description = "困难（橙宝石）", data = "orangegem"},
     	 },
	    default = "goldnugget",
	
	},
	
	{
	  name = "repair",
	  label = "（开启“升级修复”之后有效）修复材料",
	  hover = "可以给予使得西瓜刀耐久修复20%",
	   options = 
        {		
			{description = "绳子", data = "rope"},
			{description = "木板", data = "boards"},
			{description = "石砖", data = "cutstone"},
			{description = "黄金", data = "goldnugget"},
			{description = "红宝石", data = "redgem"},
			{description = "橙宝石", data = "orangegem"},
     	 },
	    default = "rope",
	
	},
	
	{
	  name = "upgradedamage",
	  label = "（开启“升级修复”之后有效）每级加伤害",
	  hover = "设置每次升级增加的伤害",
	   options = 
        {		
			{description = "1", data = 1},
			{description = "2", data = 2},
			{description = "5", data = 5},
			{description = "10", data = 10},
			{description = "20", data = 20},
     	 },
	    default = 20,
	
	},
	
	
	--Title("暂时关闭的功能"),
	--{
      -- name = "bag",
       --label = "背包",
	   --hover = "此项暂时关闭，如果需要打开，在订阅界面会有简单的方法",
       -- options = 
        --{
			 --{description = "关闭", data = "false"},
			 --{description = "开启", data = "true"},
			 --如果你需要开启背包功能，只需把上一行的 -- 符号去掉即可
       -- },
       -- default = "false",
    --},
	
	--[[{
	  name = "fangyu",
	  label = "护甲功能",
	  hover = "设置护甲的防护能力",
	   options = 
        {		
			{description = "关闭", data = 0},
			{description = "60%", data = 0.6},
			{description = "70%", data = 0.7},
			{description = "80%", data = 0.8},
			{description = "90%", data = 0.9},
			{description = "95%", data = 0.95},
			{description = "100%", data = 1},
     	 },
	    default = 0,
	
	},
	
	{
		name = "hujia",
		label = "护甲耐久（开启“护甲功能”后有效）",
		hover = "护甲耐久与武器耐久之一耗尽就消失！！",
		options = 
		{		
			{description = "300", data = 300},
			{description = "500", data = 500},
			{description = "1000", data = 1000},
			{description = "5000", data = 5000},
			{description = "10000", data = 10000},
			{description = "99999999", data = 99999999},
		},
		default = 300,
		
	},]]
	
}